package com.example.community.service;


import com.example.community.DTO.AddArticle;
import com.example.community.entity.article;

import java.util.List;

public interface articleService {
    List<article> getAll();
    article getOneById(String id);

    String addOne(AddArticle AddArticle);

    article updateOne(article article);

    int deleteOneArticle(String id);

}
